import { httpPost, httpGet } from '@/utils/fetch'

// 名酒品鉴会列表
export function TastingMeeting(data) {
    return httpPost({
        url: '/api/TastingMeeting/list',
        method: 'POST',
        data
    })
}

// 名酒品鉴会详情
export function detail(data) {
    return httpPost({
        url: '/api/TastingMeeting/detail',
        method: 'POST',
        data
    })
}

// 名酒品鉴会报名
export function registration(data) {
    return httpPost({
        url: '/api/TastingMeeting/registration',
        method: 'POST',
        data
    })
}

// 名酒品鉴会有效打卡范围
export function effectiveRange(data) {
    return httpPost({
        url: '/api/TastingMeeting/effectiveRange',
        method: 'POST',
        data
    })
}




// 名酒品鉴会打卡
export function clockIn(data) {
    return httpPost({
        url: '/api/TastingMeeting/clockIn',
        method: 'POST',
        data
    })
}



// 名酒品鉴会打卡详情
export function getClockInDetail(data) {
    return httpPost({
        url: '/api/TastingMeeting/getClockInDetail',
        method: 'POST',
        data
    })
}




// 名酒品鉴会评价
export function comment(data) {
    return httpPost({
        url: '/api/TastingMeeting/comment',
        method: 'POST',
        data
    })
}




// 名酒品鉴会评价详情
export function getCommentDetail(data) {
    return httpPost({
        url: '/api/TastingMeeting/getCommentDetail',
        method: 'POST',
        data
    })
}



// 发起品鉴会商品列表
export function goodsList(data) {
    return httpPost({
        url: '/api/TastingMeeting/goodsList',
        method: 'POST',
        data
    })
}


// 创建品鉴会
export function create(data) {
    return httpPost({
        url: '/api/TastingMeeting/create',
        method: 'POST',
        data
    })
}



// 发起品鉴会说明
export function explain(data) {
    return httpPost({
        url: '/api/TastingMeeting/explain',
        method: 'POST',
        data
    })
}




// 我参加的名酒品鉴
export function participate(data) {
    return httpPost({
        url: '/api/MyMeeting/participate',
        method: 'POST',
        data
    })
}




// 我发起的名酒品鉴会列表
export function initiate(data) {
    return httpPost({
        url: '/api/MyMeeting/initiate',
        method: 'POST',
        data
    })
}
